package com.example.designpatterns.template;

/**
 * 测试
 * 不同对象实现同一流程（prepareGotoSchool()）
 */
public class Test {

    public static void main(String[] args) {
        Student student = new Student();
        student.prepareGotoSchool();

        Teacher teacher  = new Teacher();
        teacher.prepareGotoSchool();
    }
}
